001 /* $RCSfile: DESKeySpec.java,v $ 002 * $Revision: 1.7 $ 003 * $Date: 2001/11/02 09:11:01 $ 004 * $Author: uwe $ 005 * $State: Exp $ 006 * 007 * Created on August 11, 2001 11:18 AM 008 * 009 * Copyright (C) 2001 Uwe Guenther <uwe@cscc.de> 010 * 011 * This file is part of the jhbci JCE-ServiceProvider. The jhbci JCE- 012 * ServiceProvider is a library, written in JavaTM, that should be 013 * used in HBCI banking applications (clients and may be servers), 014 * to do cryptographic operations. 015 * 016 * The jhbci library is free software; you can redistribute it and/or 017 * modify it under the terms of the GNU Lesser General Public 018 * License as published by the Free Software Foundation; either 019 * version 2.1 of the License, or (at your option) any later version. 020 * 021 * The jhbci library is distributed in the hope that it will be useful, 022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 024 * Lesser General Public License for more details. 025 * 026 * You should have received a copy of the GNU Lesser General Public 027 * License along with this library; if not, write to the Free Software 028 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 029 * 030 */ 031 032 package de.cscc.crypto.provider.spec; 033 034 import java.security.spec.KeySpec; 035 036 /** 037 * DESKeySpec interface. Defines a general interface for 038 * all 3 sorts of DES Keys, DES1KeySpec, DESede2KeySpec and 039 * DESede3KeySpec. 040 * 041 * @author <a href=mailto:uwe@cscc.de>Uwe Günther</a> 042 * @version $Revision: 1.7 $ 043 */ 044 public interface DESKeySpec extends KeySpec { 045 046 /** 047 * Get the DES Key as byte[8,16 or 24]. 048 * 049 * @return the DES Key as byte[8,16 or 24]. 050 */ 051 public byte[] getKey(); 052 }